package com.school.dto.user;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class LoginDTO {


    @NotNull(message = "用户登录名不能为空")
    private String userName;

    @NotNull(message = "用户密码不能为空")
    private String password;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
